package Server.network.server;

import Server.Opcodes;
import Server.world.character;

public class Invisa extends BasePacket{

	public Invisa(character cha){
		writeC(Opcodes.S_OPCODE_OBJECTINVISA);
		writeD(cha.get_objectId());
		if(cha.get_Invis()){
			writeC(1);
		}else{
			writeC(0);
		}
	}
	
	public byte[] send(){

		return getBytes();
	}
}
